package com.yideb.demo;

import com.alibaba.fastjson.JSON;
import com.yideb.sso.entity.Token;
import com.yideb.sso.storage.SessionKickOutListener;
import org.springframework.stereotype.Component;

@Component
public class SingleSessionLinstenerImpl implements SessionKickOutListener {
    @Override
    public void notice(Token token) {
        String json = JSON.toJSONString( token);
        System.out.println(json);
    }
}
